package com.zyy.command.demo01;

import java.util.HashMap;
import java.util.Map;

/**
 * @Description: 订单类
 */
public class Order {
    //餐桌号码
    private int diningTable;
    //用来存储餐名并记录
    private Map<String, Integer> foodDic = new HashMap<>();

    public int getDiningTable() {
        return diningTable;
    }

    public void setDiningTable(int diningTable) {
        this.diningTable = diningTable;
    }

    public Map<String, Integer> getFoodDic() {
        return foodDic;
    }

    public void setFoodDic(String name, Integer num) {
        foodDic.put(name, num);
    }
}
